package com.bawei.module_player

import androidx.lifecycle.LiveData
import com.bawei.library_common.mvvm.BaseViewModel
import com.bawei.library_network.newFactory.ApiResponse

/**
 * @Author : yaotianxue
 * @Time : On 2023/6/2 10:03
 * @Description : PlayerViewModel
 */
class PlayerViewModel:BaseViewModel() {
    suspend fun video(videoId:Int): PlayerEntity {
        return PlayerRepository().video(videoId)
    }

    suspend fun comment( videoId:Int): PlayerEntity {
        return PlayerRepository().comment(videoId)
    }
}